package com.itestor.iptv.modules.common.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

/**
 * 
 * @author Mr.li
 *
 */
@Entity
@IdClass(RobotGroupManagePK.class)
@Table(name = "robotgroup")
public class RobotGroupManage {

    private Integer idRobot;
    
    private Integer idGroup;

    @Id
    @Column(name = "idRobot")
    public Integer getIdRobot() {
        return idRobot;
    }

    public void setIdRobot(Integer pIdRobot) {
        idRobot = pIdRobot;
    }
    
    @Id
    @Column(name = "idGroup")
    public Integer getIdGroup() {
        return idGroup;
    }

    public void setIdGroup(Integer pIdGroup) {
        idGroup = pIdGroup;
    }
}
